export interface ApiResponse<T> {
  code: number
  message: string
  data: T
}

interface LoginResponseData {
  userId: string;
  password: string;
  username: string;
  gender: number;
  realName: string;
  phoneNumber: string;
  agency: Agency[];
  comment: string;
  createTimestamp: number;
  updateTimestamp: number;
  deleteTimestamp: number;
  active: boolean;
}

interface Agency {
  stationId: string;
  departmentId: string;
  role: string[];
}

export type LoginResponse = ApiResponse<LoginResponseData>
